An Algorithm for Comparing Similarity Between Two Trees
نویسنده
چکیده
An important problem in geometric computing is defining and computing similarity between two geometric shapes, e.g. point sets, curves and surfaces, etc. Important geometric and topological information of many shapes can be captured by defining a tree structure on them (e.g. medial axis and contour trees). Hence, it is natural to study the problem of comparing similarity between trees. We study gapped edit distance between two ordered labeled trees, first proposed by Touzet [43]. Given two binary trees T1 and T2 with m and n nodes. We compute the general gap edit distance in Opmn `mnq time. The computation of this distance in the case of arbitrary trees has shown to be NP-hard [43]. We also give an algorithm for computing the complete subtree gap edit distance, which can be applied to comparing contour trees of terrains in R.
منابع مشابه
Local similarity between quotiented ordered trees
In this paper we propose a dynamic programming algorithm to evaluate local similarity between ordered quotiented trees using a constrained edit scoring scheme. A quotiented tree is a tree defined with an additional equivalent relation on vertices and such that the quotient graph is also a tree. The core of the method relies on two adaptations of an algorithm proposed by Zhang et al. [1] for com...
متن کاملAn Even Faster and More Unifying Algorithm for Comparing Trees via Unbalanced Bipartite Matchings
A widely used method for determining the similarity of two labeled trees is to compute a maximum agreement subtree of the two trees. Previous work on this similarity measure is only concerned with the comparison of labeled trees of two special kinds, namely, uniformly labeled trees (i.e., trees with all their nodes labeled by the same symbol) and evolutionary trees (i.e., leaf-labeled trees wit...
متن کاملOn matching nodes between trees
Consider two rooted leaf-labeled trees T1, T2. Define the similarity between two internal nodes, one from each tree, to be |A∩B| |A∪B| , where A,B are the sets of the leaves under the two nodes, respectively. In this paper, we consider the problem of computing for every node in T1, the best matching node in T2 under the above similarity measure. Such problem arises in applications such as compa...
متن کاملAn Efficient Target Tracking Algorithm Based on Particle Filter and Genetic Algorithm
In this paper, we propose an efficient hybrid Particle Filter (PF) algorithm for video tracking by employing a genetic algorithm to solve the sample impoverishment problem. In the presented method, the object to be tracked is selected by a rectangular window inside which a few numbers of particles are scattered. The particles’ weights are calculated based on the similarity between feature vecto...
متن کاملAlgorithms for Computing the Quartet Distance
Evolutionary (Phylogenetic) trees are constructs of the biological and medical sciences, their purpose is to establish the relationship between a set of species (phyla). Often it is the case that the true evolutionary tree is unknown and one can only try to estimate it. Reconstruction methods are manifold and the resulting evolutionary trees are not guaranteed to be correct. In order to establi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1508.03381 شماره
صفحات -
تاریخ انتشار 2015